﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace ObjControler
{
    public class ObjectController
    {
        private List<Object3D> m_Objects;
       
        Queue<Func<InJobParam, OutJobParam>> m_Jobs;
        public ObjectController()
        {
            m_Objects = new List<Object3D>(0);
            m_Jobs = new Queue<Func<InJobParam, OutJobParam>>(0);
            ThreadPool.SetMaxThreads(Environment.ProcessorCount * 4, Environment.ProcessorCount * 4);
            ThreadPool.SetMinThreads(Environment.ProcessorCount * 4, Environment.ProcessorCount * 4);
            
        }

    }
}
